import http from "../../axios";


//登錄

export const loginApi = (params:any)=>{
    return http.post(`/vue/loginvue?username=${params.username}&password=${params.password}&rememberMe=${params.rememberMe}`,params)
}
export const getUserRole = (params:any)=>{
    return http.get(`/getUserRole`,params)
}

export const passWordChange = (params:any)=>{
    return http.post('/app/password',params)
}
